#header {
  border-bottom: 1px solid #ddd;
  height: 46px;
  margin: 30px 20px 0;
  padding: 0 0 20px;
  position: relative;
}
#blog_title {
  float: left;
}
#header #blog_title h1 a {
  display: block;
  font-family: impact, "Microsoft Yahei";
  font-size: 52px;
  height: 55px;
  line-height: 52px;
  overflow: hidden;
}
#search {
  position: absolute;
  right: 5px;
  top: -1em;
}
#search input[type="search"] {
  background: url("img/sb.png") no-repeat scroll 10px center #f7f7f7;
  border: 1px solid #cbcbcb;
  border-radius: 1em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset;
  line-height: 16px;
  padding: 5px 5px 5px 30px;
  transition: all 0.5s ease 0s;
  width: 186px;
}
#search input[type="search"]:hover,
#search input[type="search"]:focus {
  background-color: #fff;
  box-shadow: 0 0 5px rgba(64, 170, 80, 0.5);
  width: 300px;
}
#menu {
  color: black;
  float: right;
  margin-top: 12px;
  overflow: hidden;
  text-shadow: none;
}
#menu ul {
  float: left;
  overflow: hidden;
}
#menu ul li {
  float: left;
  & > ul {
    display: none;
  }
}
#menu ul li a {
  color: black;
  display: block;
  height: 12px;
  margin-top: 5px;
  padding: 5px 21px 20px;
  position: relative;
  text-transform: uppercase;
  z-index: 3;
  &:hover {
    border-bottom-color: transparent;
  }
}
#menu ul li.back {
  border-top: 5px solid #40aa52;
  position: absolute;
  z-index: 2;
}
